package com.ruoyi.server.api.booking.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约到店对象 img_booking
 *
 * @author ruoyi
 * @date 2024-10-24
 */
public class ImgBooking extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 绑定用户的id
     */
    @Excel(name = "绑定用户的id")
    private String userId;

    /**
     * 作品类型
     */
    @Excel(name = "作品类型")
    private String imgType;

    /**
     * 预约时间
     */
    @Excel(name = "预约时间")
    private String dateTime;

    /**
     * 预约姓名
     */
    @Excel(name = "预约姓名")
    private String userName;

    /**
     * 预约电话
     */
    @Excel(name = "预约电话")
    private String phone;

    /**
     * 状态 0 为正常状态 1 取消预约 2为完成订单
     */
    @Excel(name = "状态 0 为正常状态 1 取消预约 2为完成订单")
    private Long status;

    /**
     * 更新时间
     */
    private Date updateTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setImgType(String imgType) {
        this.imgType = imgType;
    }

    public String getImgType() {
        return imgType;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "ImgBooking{" +
                "id=" + id +
                ", userId=" + userId +
                ", imgType='" + imgType + '\'' +
                ", dateTime='" + dateTime + '\'' +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", status=" + status +
                ", updateTime=" + updateTime +
                '}';
    }
}
